/*
#ifndef COMBATPOWERDEF_H__
#define COMBATPOWERDEF_H__
#include "gDefine.h"
#include "SimpleRefection.h"
#include "MgrBase.h"

struct CombatPowerDef:public ReflectionBase
{
	DECL_REFLECTION(CombatPowerDef,"../config/CombatPower.xml");
	int32 m_iID;
	uint32 m_iPowerOfPlayerLvl;
	uint32 m_iPowerOfCardLvl;
	uint32 m_iPowerOfCardStar;
	uint32 m_iPowerOfCardSkillNum;
	rewrite virtual void OnArchieveReaded(){}
};
typedef DefMangerTpl<CombatPowerDef,eDefaultDef_CombatPower> __CombatPowerManager;
class CombatPowerManager :public __CombatPowerManager
{
public:
	
	static CombatPowerManager& Instance()
	{
		static CombatPowerManager _instance;
		return _instance;
	}
	rewrite virtual void OnArchieveReaded();
	const std::vector<uint32>& PlayerLvlPower() const { return m_vPlayerLvlPower;}
	const std::vector<uint32>& CardLvlPower() const { return m_vCardLvlPower;}
	const std::vector<uint32>& CardStarPower() const { return m_vCardStarPower;}
	const std::vector<uint32>& CardSkillNumPower() const { return m_vCardSkillNumPower;}

	inline uint32 PowerOfPlayerLvl(uint32  n) const	{ return IndexValue(m_vPlayerLvlPower,n);}
	inline uint32 PowerOfCardLvl(uint32  n)const		{ return IndexValue(m_vCardLvlPower,n);}
	inline uint32 PowerOfCardStar(uint32  n)const { return IndexValue(m_vCardStarPower,n);}
	inline uint32 PowerOfSkillNum(uint32  n)const	{ return IndexValue(m_vCardSkillNumPower,n);}
private:
	CombatPowerManager(){};
	std::vector<uint32> m_vPlayerLvlPower;
	std::vector<uint32> m_vCardLvlPower;
	std::vector<uint32> m_vCardStarPower;
	std::vector<uint32> m_vCardSkillNumPower;
	inline uint32 IndexValue(const std::vector<uint32>& rArray,uint32 nIndex) const 
	{
		if(nIndex>=rArray.size()) return 0;
		return rArray[nIndex];
	}
};
	

#endif
*/